<%--
  Created by IntelliJ IDEA.
  User: rsdz
  Date: 2024/3/25
  Time: 23:05
  To change this template use File | Settings | File Templates.
--%>




<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <style>
        body {
            background-color: #fad7f5;
            font-family: Arial, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
        }
        #box {
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            text-align: center;
            width: 300px;
        }
        h1 {
            color: #333;
        }
        input[type="text"],
        input[type="password"] {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: 1px solid #ccc;
            border-radius: 5px;
        }
        input[type="submit"],
        input[type="reset"] {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
        input[type="submit"] {
            background-color: #28a745;
            color: white;
        }
        input[type="reset"] {
            background-color: #dc3545;
            color: white;
        }
        input[type="submit"]:hover,
        input[type="reset"]:hover {
            opacity: 0.8;
        }
        h2 {
            color: red;
        }
    </style>
</head>
<body style="background: antiquewhite">





<form action="${pageContext.request.contextPath}/login1" method="post">
    <h2> ${fa}</h2>
    <div id="box" style="height:500px; width:400px; margin:auto; text-align:center">
        <h1>用户登录</h1>
        <br>
        <br>
        用户名<input type="text" name="username"><br>
        <br>
        密码<input type="password" name="password"><br>
        <br>

        <input type="submit" value="登录">
        <input type="reset" value="取消">



    </div>

</form>
</body>
</html>